import request from '@/utils/request';

export function getOvertimeList() {
    return request({
        url:"admin/overtime/list",
        method:"get"
    })
}

export function saveOvertime(data) {
    return request({
        url:"admin/overtime",
        method:"post",
        data
    })
}


export function getUser(empNo){
    return request({
      url: '/admin/employee/'+empNo,
      method: 'get'
    })
}